package com.ddl;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@ComponentScan(basePackages = {"com.ddl"})
@MapperScan(basePackages = "com.ddl.dao")
@EnableScheduling
@EnableTransactionManagement
public class GrapeApplication {
	public static void main(String[] args) {
		SpringApplication.run(GrapeApplication.class, args);
	}
}
